<template>
  <div class="home">
    <el-container>
      <el-header>
          <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal"
                   style="padding-left: 100px;padding-right: 100px;height: 50px"
                   background-color="#545c64"
                   text-color="#fff"
                   active-text-color="#ffd04b">
           <city style="margin-left: 90px;margin-top: 60px"></city>
            <el-menu-item style="float: right;" >
              <el-avatar src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"></el-avatar>
            </el-menu-item>
            <el-menu-item style="float: right;" >
              <el-avatar src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"></el-avatar>
            </el-menu-item>
          </el-menu>
      </el-header>

      <el-main>

        Main
      </el-main>
    </el-container>
  </div>
</template>

<script>
import city from '../components/public/Header/city'
import City from "../components/public/Header/city";

export default {
  name: 'Home',
  components: {
    City
  },
  data(){
    return {
      activeIndex: '',
    }
  }
}
</script>
<style>
.headerline{
  overflow: hidden;
  height: 50px;
  text-align: center;
  line-height: 55px
}

</style>